home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 111_01 / se.doc < prev    next >
Text File  |  1985-08-19  |  2KB  |  73 lines

  1.  
  2.  
  3.         S E C T O R   E D I T O R
  4.         -------------------------
  5.  
  6.               (c) 1981 Jan Larsson
  7.         
  8.  
  9. This program lets you view (look), edit and write back a sector
  10. on a diskette. It needs a 24*80 cursor addressable terminal.
  11. modify the CLRSCREEN() and GOTOXY() functions. I have not designed
  12. it to work with those systems using the DEBLOCK routine in their 
  13. BIOS's to handle physical sectors larger than 128 bytes, so
  14. if you want to use it and have such a system you must modify
  15. the routines which write back the edited sector in SE.
  16. The BitMap command is not implemented. 
  17.  
  18. THIS PROGRAM NEEDS CP/M 2.x !!!!!!
  19.  
  20. I'm using v1.43 of BDS C compiler on a 60k CP/M 2.2.
  21. SE uses 2.x functions which are not available on
  22. CP/M 1.x so it will need patching for running under 1.x.
  23.  
  24. SE needs 24 * 80 cursor addressable terminal.  Functions
  25. screen clearing and cursor addressing are at the beginning of SE.C.
  26. SE's write command is not tested with BIOS using DEBLOCK
  27. library routine (for physical sectors larger than 128 byte)
  28.  
  29. Cursor movement when editing:
  30.  
  31.                  Ctrl-E = UP
  32.                  Ctrl-S = LEFT
  33.                  Ctrl-D = RIGHT
  34.                  Ctrl-X = DOWN
  35.                  Ctrl-A = TO LEFT MARGIN
  36.                  Ctrl-F = TO RIGHT MARGIN
  37.                  Ctrl-Z = TO HOME POSITION
  38.                  ESCAPE = END EDITING
  39.  
  40. Most commands, except BYe, can be abbreviated to one letter.
  41.  
  42. NewDisk/Bye           Uses no arguments
  43.  
  44. Drive                 Takes drive code (A-P) as argument
  45.  
  46. Edit/Look/Write       You must specify TRACK and SECTOR, ex.
  47.                       LOOK SECTOR 2 TRACK 23 (abbrev. L S 2 T 23)
  48.                       A special case is when you specify '-' or
  49.                       '+' as only argument, Sector will be incremented
  50.                       or decremented. Let's say that you after the
  51.                       the command given above you want to look at the
  52.                       next sector, then:
  53.                       LOOK +   (abbreviated L +)
  54.                  
  55.  
  56. The program will use the SECTRAN skewing BIOS entry for all tracks
  57. except the system tracks.
  58.  
  59.  
  60. ***********************************************************************
  61. TO COMPILE:
  62.  
  63.     cc se -e4000
  64.     cc senter -e4000
  65.     clink se senter -e4000
  66.  
  67. ***********************************************************************
  68. Jan Larsson
  69. Kostervagen 12
  70. S-181 35  Lidingo
  71. SWEDEN
  72.  
  73.